		<?php
				session_start();
				require_once('../config.php');
				include_once("../database/DataBase.php");
				
				$database = New DataBase();
				$database->open_connection();
								
				$result = $database->getUserType($_SESSION["user_type"]);
				echo "Type : ";
				echo "<select name=\"type\" id=\"type\" >";
				echo "<option value=\"\"> -- </option>";
				while ($row = mysql_fetch_assoc($result)) {
					echo "<option value=\"".$row["type"]."\">".$row["description"]."</option>";
				}
				echo "</select>";
				
				$database->close_connection();
		?>